package cn.edu.sjtu.se.dslab.DAO.achieve;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import cn.edu.sjtu.se.dslab.DAO.IMethodComponentDAO;
import cn.edu.sjtu.se.dslab.component.method.MethodComponent;
import cn.edu.sjtu.se.dslab.exception.DBException;

public class MethodComponentDAOAchieve extends BaseDAOAchieve<Object> implements
		IMethodComponentDAO {
	/**
	 * 定义日志处理对象
	 */
	private static final Log log = LogFactory
			.getLog(MethodComponentDAOAchieve.class);

	/**
	 * 获取查询hql语句
	 * 
	 * @return hql语句
	 */
	@Override
	public String getAllHql() {
		// TODO Auto-generated method stub
		// 定义返回值
		String hql = "from MethodComponent";
		// 返回hql语句
		return hql;
	}

	@Override
	public void delete(MethodComponent obj) throws DBException {
		// TODO Auto-generated method stub

	}

	@Override
	public void update(MethodComponent bean) throws DBException {
		// TODO Auto-generated method stub

	}

	@Override
	public MethodComponent findMethodComponentById(Long methodComponentId)
			throws DBException {
		// TODO Auto-generated method stub
		return null;
	}

}
